FROM tziye/nginx-ffmpeg:v1.0

WORKDIR /app

COPY target/websocket-bundled-1.0.jar app.jar
COPY static static

ENV LANG=en_US.UTF-8
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone

EXPOSE 7777

CMD ["java","-cp","app.jar","com.MonitorServer"]